<form method="post" action="{$filter_vars.link_submit|escape}">
<table cellspacing="0" cellpadding="0" class="stdobjFilter-table" width="100%">
<tr>
    <td class="stdobjFilter-table-header">{$title}:</td>
</tr>
<tr>
    <td class="stdobjFilter-table-td">
        <select name="{$filter_vars.varname|escape}" class="{if $filter_vars.value }select_active{else}select{/if}">
        {foreach from=$filter_vars.variants key=variant_key item=variant_name }
        <option value="{$variant_key|escape}" {if $variant_key == $filter_vars.value } selected="selected" {/if}>{$variant_name|escape}</option>
        {/foreach}
        </select>
    </td>
    {if $filter_vars.value }
    <td class="stdobjFilter-table-td" width="54" nowrap="nowrap">
        <input type="submit" value="OK" style="width: 32px;" />
        <a href="{$filter_vars.link_cancel|escape}" title="Отменить"><img src="{$SPIcfg.dir.pubsite_styles|escape}null.gif" class="icon icon_cancel" align="absmiddle" style="margin-bottom: 3px;" alt="Отменить" /></a>
    </td>
    {else}
    <td class="stdobjFilter-table-td" width="54"><input type="submit" value="OK" style="width: 50px;" /></td>
    {/if}
</tr>
</table>
</form>
